# i =1
# while i<=9:
#     j=1
#     while j<=i:
#         print(f'{j}*{i}={j*i}',end=' ')
#         j+=1
#     print()
#     i+=1
#


for i in range(1,10):
   for j in range(1,i+1):
       print(f'{j}*{i}={j * i}', end=' ')
   print()


# for a in range(5):
#     for b in range(0,5-a):
#         print(end='')
#         for c in range(5-a,5):
#             print('*',end='')
#     print()

